ul.topnav {
	list-style: none;
	margin: 0;
	background-color: #333;   
	border-bottom-left-radius: 5px;
  	border-bottom-right-radius: 5px;
  	position: fixed;
  	top: 32px;
  	z-index: 10;
  	left: 50%;
  	width:800px;
  	margin-left: -400px;
  	height:25px;
  	-webkit-padding-start: 5px;
  	/* Box shadow */
    -moz-box-shadow: 3px 3px 3px black;
    -webkit-box-shadow: 3px 3px 3px black;
    box-shadow: 3px 3px 3px black;
}

ul.topnav li {
	float: left;
	margin: 0;
	padding: 0 5px 0 0 ;
	position: relative; /*--Declare X and Y axis base for sub navigation--*/
}

li.layer {
	background-image:url('../images/dropdown/check.gif');
	background-repeat:no-repeat;
	background-position:right; 	
}

ul.topnav li a{
	color: white;
	display: block;
	text-decoration: none;
	float: left;
	padding: 5px;
}
ul.topnav li a:hover{
	opacity:0.5;
}
ul.topnav li span { /*--Drop down trigger styles--*/
	width: 16px;
	height: 25px;
	float: left;
	background-color: #AAA;
	background: url(../images/dropdown/bullet-arrow-down.png) no-repeat center;
}

ul.topnav li ul.subnav {
	list-style: none;
	position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
	left: 0; top: 25px;
	background-color: #333;
	margin: 0; padding: 0;
	display: none;
	float: left;
	border: 1px solid #111;
}
ul.topnav li ul.subnav li{
	margin: 0; padding: 0;
	border-top: 1px solid #252525; /*--Create bevel effect--*/
	border-bottom: 1px solid #444; /*--Create bevel effect--*/
	clear: both;
	text-align:left;
	width: 145px;
}

ul.topnav input {
    padding: 2px;  
    font-size: 11px; 
    width: 150px; 
    outline: none;  
    -webkit-border-radius: 3px;  
    -moz-border-radius: 3px;  
    border-radius: 3px;  
    border: 1px solid #717171;  
}

ul.topnav input:focus {  
    -webkit-box-shadow: 0px 0px 5px #007eff;  
    -moz-box-shadow: 0px 0px 5px #007eff;  
    box-shadow: 0px 0px 5px #007eff;  
} 

html ul.topnav li ul.subnav li a {
	width: 135px;
}


div.msg-box {
  display: none;
  position: absolute;
  top: 35px;
  left: 50%;
  width: 300px;
  margin-left:-150px;
  padding:2px;
  background-color:#EBC137;
  /* Font */
  color:#771E10;
  text-align: center;
  /* Rounded corners */
  border:1px solid #E38C2D;
  border-radius: 5px;
  /* Box shadow */
  -moz-box-shadow: 3px 3px 3px black;
  -webkit-box-shadow: 3px 3px 3px black;
  box-shadow: 3px 3px 3px black;	
}

div.boxfadein {
  -webkit-animation-duration: 1s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-name: fadeIn;
  -webkit-animation-timing-function: ease-in-out;
}

div.boxfadeout {
  -webkit-animation-duration: 1s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-name: fadeOut;
  -webkit-animation-timing-function: ease-in-out;
}

@-webkit-keyframes fadeOut {
	0% { opacity: 1; }
	100%{ opacity: 0;}
}

@-webkit-keyframes fadeIn {
	0% { opacity: 0; }
	100%{ opacity: 1;}
}
